import 'core-js/fn/object/assign';
import React from 'react';
import ReactDOM from 'react-dom';

import IndexPage from './page/index';

// base style
require('normalize.css/normalize.css');
require('typo.css/typo.css');

const commonFiles = [
  //'variables',
  'main'
];
// common style
commonFiles.map( item => require(`styles/${ item }.scss`))

ReactDOM.render(<IndexPage />, document.getElementById('app'));
